<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="js/jquery-1.12.4.js" ></script>
		<script>
			window.onload = function(){
				var weiArray = {}
				weiArray.length = 1;
				weiArray[0] = "atguigu";
				weiArray.length = 2;
				weiArray[1] = "jQuery";
				weiArray.length = 3;
				weiArray[2] = "html";
				
				for(var i = 0; i < weiArray.length; i++){
					var obj = weiArray[i];
					console.log(i, obj);
				}
				
				console.log(weiArray.foreach);
			}
		</script>
	</head>
	<body>
	</body>
</html>
